<template>
    <div class="contianer">
        请输入你的名字：<input type="text" v-model="name"/>
        <div>你的姓名是：{{ name }}</div>
        <input type="text" v-model="param1">
        <input type="text" v-model="param2"> = {{ param1 + param2 }}
    </div>
</template>
<script setup>
    import { ref } from 'vue';
    const name = ref('张三');
    const param1 = ref(2);
    const param2 = ref(1);
</script>
<style>
</style>